package com.another.bidservice.dao.mapper;

import com.another.bidservice.entity.TForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface FormDao{
    List<TForm> getList(@Param("sql") String sql);
    int insertList(List<TForm> entity);
    int deleteList(List<Integer> rowid);
    int updateList(List<TForm> entity);
    int insertForm(TForm entity);
    int updateForm(TForm entity);
    int deleteForm(TForm entity);

    List<Map<String,String >> publicSql(@Param("sql") String sql);


    String publicCountSql(@Param("sql") String sql);

}



